package com.future.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Auther: 田坑坑
 * @Date: 2022/6/20 14:01
 * @Description:  我题序等你回
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "storey")
public class Storey {
    @TableId(value = "storeyId", type = IdType.AUTO)
    private Integer storeyid;

    @TableField(value = "storeyName")
    private String storeyname;

    @TableField(value = "storeyAddress")
    private String storeyaddress;

    @TableField(value = "storeyFloor")
    private Integer storeyfloor;

    @TableField(value = "storeyImg")
    private String storeyimg;

    @TableField(value = "storeyStatus")
    private String storeystatus;

    @TableField(exist = false)
    private  List<Room>   rooms;





    public static final String COL_STOREYID = "storeyId";

    public static final String COL_STOREYNAME = "storeyName";

    public static final String COL_STOREYADDRESS = "storeyAddress";

    public static final String COL_STOREYFLOOR = "storeyFloor";

    public static final String COL_STOREYIMG = "storeyImg";

    public static final String COL_STOREYSTATUS = "storeyStatus";
}